<?php
	
function doublevalue($var)
{
	$var = $var * 2;
}

$variable = 5;

doublevalue($variable);

print "\$variable is: $variable. <br>";

function acount()
{
	static $count = 0;
	$count++;
	return $count;
}
// prints 1
print acount()."<br>";
// prints 2
print acount()."<br>";


?>